package com.greenphosphor.glasshouse;

import java.util.*;

public class SLGraph {

  public int layer;
  public int producerLayer;
  public CICPProducer producer;
  public double startY;
  public double startX;
  public double startZ;
  public ArrayList<String> menuList;
  public ArrayList<String> dispatchList;
  public ArrayList<StringBuffer> chunkList;
  public int[] listCounts = new int[2];
  public long timeMillis;
  public RegionControl rc;
  public String menuPrimId = null;
  public String user = null;
  public String key = null;
  public HashMap<String, Integer> nodeMap = new HashMap<String, Integer>();

  public SLGraph ( int inLayer, double inX, double inY, double inZ,
                   RegionControl inRc, String inUser, String inKey,
                   int inPLayer, CICPProducer inProducer ) {
    layer = inLayer;
    startY = inY;
    startX = inX;
    startZ = inZ;
    menuList = new ArrayList<String>();
    dispatchList = new ArrayList<String>();
    chunkList = new ArrayList<StringBuffer>();
    timeMillis = System.currentTimeMillis();
    listCounts[0] = 0;
    listCounts[1] = 0;
    rc = inRc;
    user = inUser;
    key = inKey;
    producerLayer = inPLayer;
    producer = inProducer;
  }
}
